package com.pond.pond.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.pond.common.core.annotation.Excel;
import com.pond.common.core.web.domain.BaseEntity;

/**
 * 鱼种类对象 fish_type
 * 
 * @author ruoyi
 * @date 2025-05-13
 */
public class FishType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 鱼种名称，如：草鱼、罗非鱼 */
    @Excel(name = "鱼种名称，如：草鱼、罗非鱼")
    private String name;

    /** 默认单价（元/kg） */
    @Excel(name = "默认单价", readConverterExp = "元=/kg")
    private BigDecimal defaultPricePerKg;

    /** 说明或备注 */
    @Excel(name = "说明或备注")
    private String description;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setDefaultPricePerKg(BigDecimal defaultPricePerKg) 
    {
        this.defaultPricePerKg = defaultPricePerKg;
    }

    public BigDecimal getDefaultPricePerKg() 
    {
        return defaultPricePerKg;
    }

    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("defaultPricePerKg", getDefaultPricePerKg())
            .append("description", getDescription())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
